local extension = Package:new("joy_ex")
extension.extensionName = "joyre"

extension:loadSkillSkelsByPath("./packages/joyre/pkg/joy_ex/skills")

local trans = require("./packages/joyre/pkg/joy_ex/trans")

local zhaoyun = General:new(extension, "joyex__zhaoyun", "shu", 4)
zhaoyun:addSkills { "joyex__longdan", "joyex__yajiao" }

local joyex__machao = General:new(extension, "joyex__machao", "shu", 4)
joyex__machao:addSkills { "joy__yuma", "joyex__tieji" }

local guanyu = General:new(extension, "joyex__guanyu", "shu", 4)
guanyu:addSkills { "joyex__wusheng", "joy__tuodao", "joyex__guanjue" }

local xuchu = General:new(extension, "joyex__xuchu", "wei", 4)
xuchu:addSkills { "joyex__huchi", "joy__luoyi" }

local caocao = General:new(extension, "joyex__caocao", "wei", 4)
caocao:addSkills { "joyex__jianxiong", "joyex__hujia$" }

local zhugeliang = General:new(extension, "joyex__zhugeliang", "shu", 3)
zhugeliang:addSkills { "joyex__guanxing", "joyex__kongcheng" }

local zhangfei = General:new(extension, "joyex__zhangfei", "shu", 4)
zhangfei:addSkills { "joyex__paoxiao", "joyex__tishen" }

local huangyueying = General:new(extension, "joyex__huangyueying", "shu", 3, 3, General.Female)
huangyueying:addSkills { "joyex__jizhi", "joyex__qicai" }

local liubei = General:new(extension, "joyex__liubei", "shu", 4)
liubei:addSkills { "joyex__rende", "joyex__jijiang$" }

local simayi = General:new(extension, "joyex__simayi", "wei", 3)
simayi:addSkills { "joyex__guicai", "joyex__fankui" }

local joyex__guojia = General:new(extension, "joyex__guojia", "wei", 3)
joyex__guojia:addSkills { "joy__shenglun", "joy__tiandu", "joyex__yiji" }

local xiahoudun = General:new(extension, "joyex__xiahoudun", "wei", 4)
xiahoudun:addSkills { "ex__ganglie", "joyex__qingjian" }

local zhangliao = General:new(extension, "joyex__zhangliao", "wei", 4)
zhangliao:addSkills { "joyex__tuxi", "joyex__zhengbing" }

local ex__zhenji = General:new(extension, "joyex__zhenji", "wei", 3, 3, General.Female)
ex__zhenji:addSkills { "joyex__luoshen", "joyex__qingguo" }

local huanggai = General:new(extension, "joyex__huanggai", "wu", 4)
huanggai:addSkills { "kurou", "joyex__zhaxiang" }

local lvmeng = General:new(extension, "joyex__lvmeng", "wu", 4)
lvmeng:addSkills { "joy__keji", "joyex__qinxue", "ol_ex__botu" }
lvmeng:addRelatedSkills { "joy__gongxin" }

local sunquan = General:new(extension, "joyex__sunquan", "wu", 4)
sunquan:addSkills { "joyex__zhiheng", "joyex__jiuyuan$" }

local luxun = General:new(extension, "joyex__luxun", "wu", 3)
luxun:addSkills { "joyex__qianxun", "joyex__lianying" }

local sunshangxiang = General:new(extension, "joyex__sunshangxiang", "wu", 3, 3, General.Female)
sunshangxiang:addSkills { "joyex__jieyi", "xiaoji" }

local daqiao = General:new(extension, "joyex__daqiao", "wu", 3, 3, General.Female)
daqiao:addSkills { "joyex__wanrong", "joy__guose", "liuli" }

local ganning = General:new(extension, "joyex__ganning", "wu", 4)
ganning:addSkills { "joyex__qixi", "joyex__fenwei" }

local zhouyu = General:new(extension, "joyex__zhouyu", "wu", 3)
zhouyu:addSkills { "joyex__yingzi", "joyex__fanjian" }

local lvbu = General:new(extension, "joyex__lvbu", "qun", 5)
lvbu:addSkills { "joyex__wushuang", "joyex__wuchang" }

local diaochan = General:new(extension, "joyex__diaochan", "qun", 3, 3, General.Female)
diaochan:addSkills { "joyex__lijian", "joyex__biyue" }

local huatuo = General:new(extension, "joyex__huatuo", "qun", 3)
huatuo:addSkills { "joyex__jijiu", "joyex__qingnang" }

local huaxiong = General:new(extension, "joyex__huaxiong", "qun", 6)
huaxiong:addSkills { "joyex__yaowu", "joyex__yangwei" }


return extension
